package cn.iocoder.yudao.module.eval.controller.admin.plan.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.*;

@Schema(description = "管理后台 - 评价计划审批 Request VO")
@Data
public class EvalPlanApproveReqVO {

    @Schema(description = "计划ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "计划ID不能为空")
    private Long id;

    @Schema(description = "是否同意", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    @NotNull(message = "审批结果不能为空")
    private Boolean approved;

    @Schema(description = "审批意见", example = "计划审核通过，可以发布")
    @Size(max = 500, message = "审批意见长度不能超过500个字符")
    private String comments;

} 